package cn.dnf.service.impl;

import cn.dnf.domain.Product;
import cn.dnf.mapper.ProductMapper;
import cn.dnf.service.IProductService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class ProductServiceImpl implements IProductService {
    @Autowired
    private ProductMapper productMapper;
    @Override
    public void add(Product product) {
        productMapper.add(product);
    }
}
